FROM scratch
LABEL \
    org.opencontainers.image.title="Anolis OS Base Image" \
    org.opencontainers.image.vendor="Anolis OS 8.9" \
    org.opencontainers.image.licenses="Mulan PSL v2" \
    org.opencontainers.image.created="2024-04-25" \
    maintainer="OpenAnolis Cloud Native SIG"
ARG TARGETARCH
ADD AnolisOS8.9-base-$TARGETARCH-20240425.tar.xz  /
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo Asia/Shanghai > /etc/timezone
ENV TZ=Asia/Shanghai

CMD ["/bin/bash"]
